-- Table Of Contents (for sections easy searching and navigation):
-- - s_libs
-- - s_vars
-- - s_tags
-- - s_menu
-- - s_widgets
-- - s_bindings_mouse
-- - s_bindings_keyboard
-- - s_signals
--
-- =====================================================================
-- {{{ s_libs
-- =====================================================================
require("awful") -- base awesome
require("awful.autofocus")
require("awful.rules")
require("beautiful") -- themes custumizing
require("naughty") -- notify
require("vicious") -- additional widgets
-- }}}

-- =====================================================================
-- {{{ s_vars
-- =====================================================================
theme_path = "/home/diraven/.config/awesome/themes/default/theme.lua" -- path to the theme's theme.lua
terminal = "urxvt" -- desired terminal emulator program
editor = "gvim" -- desired editor
modkey = "Mod4" -- desired modkey for awesome keymapping
layouts =
{-- list of the desired layouts to be used, order matters
    awful.layout.suit.tile,		-- 1
    awful.layout.suit.tile.left,	-- 2
    awful.layout.suit.tile.bottom,	-- 3
    awful.layout.suit.tile.top,		-- 4
    awful.layout.suit.fair,		-- 5
    awful.layout.suit.fair.horizontal,	-- 6
    awful.layout.suit.spiral,		-- 7
    awful.layout.suit.spiral.dwindle,	-- 8
    awful.layout.suit.max,		-- 9
    awful.layout.suit.max.fullscreen,	-- 10
    awful.layout.suit.floating,         -- 11
}

layouts_named = {}
layouts_named['tile_right'] = layouts[1]
layouts_named['tile_left'] = layouts[2]
layouts_named['tile_bottom'] = layouts[3]
layouts_named['tile_top'] = layouts[4]
layouts_named['fair_vertical'] = layouts[5]
layouts_named['fair_horizontal'] = layouts[6]
layouts_named['spiral'] = layouts[7]
layouts_named['spiral_dwindle'] = layouts[8]
layouts_named['maximized'] = layouts[9]
layouts_named['maximized_fullscreen'] = layouts[10]
layouts_named['floating'] = layouts[11]

beautiful.init(theme_path) -- theme init
-- }}}

require("rc_tags") -- base awesome
require("rc_menu") -- base awesome
require('rc_widgets') -- base awesome
require("rc_keybindings") -- base awesome
require("rc_rules") -- base awesome
require("rc_signals") -- base awesome

-- {{{ User additions
-- awful.util.spawn("sys.autorun")
-- }}}
